import Vue from 'vue'
import Router from 'vue-router'
import index from '../view/index'
import GuessNumber from '../view/guessNumber/GuessNumber'
import DailyEnglish from '../view/dailyEnglish/DailyEnglish'
import TodayInHistory from '../view/todayInHistory/TodayInHistory'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component: index
    },
    {
      path: '/GuessNumber',
      name: 'GuessNumber',
      component: GuessNumber
    },
    {
      path: '/DailyEnglish',
      name: 'DailyEnglish',
      component: DailyEnglish
    },
    {
      path: '/TodayInHistory',
      name: 'TodayInHistory',
      component: TodayInHistory
    }
  ]
})
